{% extends "registrar/base.html" %}
{% import "bootstrap/wtf.html" as wtf %}

{% block title %}教务管理系统 --管理员查看教师信息{% endblock %}

{% block page_content %}
    <div class="row">
        <div class="col-md-4">
            <h2 align="left">请输入教师号</h2>
        </div>
        <div class="col-md-4">
            <h2 align="center">教师信息</h2>
        </div>
    </div>
    <div class="row">
        <div class="col-sm-4">
            {{ wtf.quick_form(form) }}
        </div>
        <div class="col-sm-4">
            {% if information_list %}
                <ul class="courses">
                    {% for item in information_list %}
                        <li class="course">
                            <div class="course-content">
                                <div class="course-body">
                                    {{ item[0] }}: {{ item[1] }}
                                </div>
                            </div>
                        </li>
                    {% endfor %}
                </ul>
            {% else %}
                <p><br>无信息</p>
            {% endif %}
        </div>
    </div>
{% endblock %}